f = open('work1.txt',mode='r',encoding='utf-8') text = f.read() f.close() lines = text.splitlines() line = lines[-3] words = line.split(' ') word = words[-1] word = word[0:-1] len(word)
8